package com.strive.village.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class SysRole extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private String name;
    private String code;
    private String remark;

    @TableField(exist = false)
    private List<Long> menuIds = new ArrayList<>(); // 角色相关的菜单ID信息
}
